﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QH.JobBack.Model
{
    public partial class Admininfo
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public Admininfo()
        {
            this.Admin_roleinfo = new HashSet<Admin_roleinfo>();
            this.Reply = new HashSet<Reply>();
        }
        [System.ComponentModel.DataAnnotations.Key]
        public int AdminId { get; set; }
        public string AdminName { get; set; }
        public string AdminPwd { get; set; }
        public Nullable<bool> Sex { get; set; }
        public string Phone { get; set; }
        public string Email { get; set; }
        public Nullable<bool> STATUS { get; set; }
        public System.DateTime CreateTime { get; set; }
        public Nullable<System.DateTime> LastLoginTime { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Admin_roleinfo> Admin_roleinfo { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Reply> Reply { get; set; }
    }
}
